/**
 * sysHandlerErrorLogService
 * 项目名称:分秒金融
 *
 * @author lunli
 *
 * 功能描述:错误处理管理
 * 
 * 历史版本:2017-04-25 v1.0.0 lunli  创建:
 * 
 */
package com.fmjr.sys.sysHandlerErrorLog.service;

import com.fmjr.common.base.exception.BusinessException;
import com.fmjr.common.base.util.Pager;
import com.fmjr.sys.sysHandlerErrorLog.bean.SysHandlerErrorLog;


public interface ISysHandlerErrorLogService{

	/**
	 * 根据条件查询错误处理记录
	 * @author lunli
	 * @param  Pager<SysHandlerErrorLog> pager
	 * @return SysHandlerErrorLogList
	 * @throws BusinessException
	 */
	public void selectSysHandlerErrorLogList(Pager<SysHandlerErrorLog> pager) throws BusinessException;
	
	/**
	 * 根据ID查询错误处理记录
	 * @author lunli
	 * @param Long id
	 * @return SysHandlerErrorLog
	 * @throws BusinessException
	 */
	public SysHandlerErrorLog selectSysHandlerErrorLogById(Long id) throws BusinessException;

	/**
	 *  删除错误处理记录
	 * @author lunli	 
	 * @param id
	 * @throws BusinessException
	 */
	public int deleteSysHandlerErrorLogById(Long id) throws BusinessException;
	
	/**
	 * 修改错误处理记录
	 * @author lunli
	 * @param sysHandlerErrorLog
	 * @throws BusinessException
	 */
	public int updateSysHandlerErrorLog(SysHandlerErrorLog sysHandlerErrorLog) throws BusinessException;

	/**
	 * 新增错误处理记录
	 * @author lunli
	 * @param sysHandlerErrorLog
	 * @return
	 * @throws BusinessException
	 */
	public int createSysHandlerErrorLog(SysHandlerErrorLog sysHandlerErrorLog) throws BusinessException;
	public int createSysHandlerErrorLog(String errorType, String order, String className, String errorCode, String errorMsg) throws BusinessException;

}
